
package cy.mybatis.genui;

import java.awt.Component;
import javax.swing.JCheckBox;
import javax.swing.JTable;
import javax.swing.table.TableCellRenderer;


public class CheckTableCellRendererRenderer extends JCheckBox implements TableCellRenderer {

    public CheckTableCellRendererRenderer() {
        this.setBorderPainted(true);
    }

    @Override
    public Component getTableCellRendererComponent(JTable table,
                                                   Object value,
                                                   boolean isSelected,
                                                   boolean hasFocus,
                                                   int row,
                                                   int column) {
        return this;
    }

}
